{include file="header.tpl"}

<div id="main">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

<div id="leftbox">
<h2>{$lan_signup}</h2>
 {''|GetSystemInfo}

<div id="leftbox_main">

<div>&nbsp;</div>
<div id="login">
<span>{$lan_welcome}{$lan_login}</span>
<div class="loginform">
<form action="{'login.php'|GetUrl}" method="post" id="main_login_form">
<input type="hidden" name="thisurl" value="{if $smarty.post.thisurl}{$smarty.post.thisurl}{else}{'login.php'|GetUrl}{/if}" />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="label">{$lan_username}: </td>
<td><input type="text" class="text" name="loginusername" tabIndex="1" /><a href="{'register.php'|GetUrl}">{$lan_joinnow}</a></td>
</tr>
<tr>
<td class="label">{$lan_password}: </td>
<td><input type="password" class="text" name="loginpassword" tabIndex="2" /><a href="{'getbackpass.php'|GetUrl}">{$lan_getbackpass}</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" id="login_submit" value="{$lan_login}" class="loginbutton" /></td>
</tr>
</table>
</form><script type="text/JavaScript">document.getElementById('main_login_form').loginusername.focus();</script>
</div>
</div>


</div>
</div>


<div id="rightbox">
<h2>{$lan_newpics}</h2>
<div id="rightbox_main">
{if $loginforview}
{$loginforview}
{else}
{section name=image loop=$images}
<div class="thumb-sml">
<table>
<thead>
<tr>
<th><a href="{'InterPhoto.php'|GetUrl:'id':$images[image].imageid}">
<img src="InterPhoto.thumbnail.php?file={$images[image].path|cat:"/1/"|cat:$images[image].filename|InterEncode}" class="thumbnail" alt="{$images[image].title|default:$lan_notitle}" title="{$images[image].title|default:$lan_notitle}" onMouseMove="ShowBigImage();" /></a></th>
</tr>
</thead>
</table>
</div>
{/section}
{/if}
</div>
</div>

</td>
</tr>
</table>
</div>


{include file="footer.tpl"}
